package com.blog.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: VE
 * @DATE: 2022/10/11 10:26
 * 描述: 文章实体
 */
public class Article implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * aid
     */
    private Integer aid;

    /**
     * title
     */
    private String title;

    /**
     * artimg
     */
    private String artimg;

    /**
     * keywords
     */
    private String keywords;

    /**
     * createtime
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createtime;

    /**
     * typeid
     */
    private Integer typeid;

    /**
     * bloguid
     */
    private Integer bloguid;

    /**
     * readnum
     */
    private Integer readnum;

    /**
     * commentnum
     */
    private Integer commentnum;

    /**
     * collnum
     */
    private Integer collnum;

    /**
     * content
     */
    private String content;

    /**
     * astatus
     */
    private String astatus;

    /**
     * remark
     */
    private String remark;



    public Article() {
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getArtimg() {
        return artimg;
    }

    public void setArtimg(String artimg) {
        this.artimg = artimg;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    public Integer getBloguid() {
        return bloguid;
    }

    public void setBloguid(Integer bloguid) {
        this.bloguid = bloguid;
    }

    public Integer getReadnum() {
        return readnum;
    }

    public void setReadnum(Integer readnum) {
        this.readnum = readnum;
    }

    public Integer getCommentnum() {
        return commentnum;
    }

    public void setCommentnum(Integer commentnum) {
        this.commentnum = commentnum;
    }

    public Integer getCollnum() {
        return collnum;
    }

    public void setCollnum(Integer collnum) {
        this.collnum = collnum;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getAstatus() {
        return astatus;
    }

    public void setAstatus(String astatus) {
        this.astatus = astatus;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

}
